﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Joe.Coin.Monitor.App
{
    [DataContract]
    public class RspWrapper
    {
        [DataMember(Name = "result")]
        public bool Result { get; set; }

        [DataMember(Name = "last")]
        public decimal LastPrice { get; set; }

        [DataMember(Name = "high")]
        public decimal HighestPrice { get; set; }

        [DataMember(Name = "low")]
        public decimal LowestPrice { get; set; }

        [DataMember(Name = "avg")]
        public decimal AveragePrice { get; set; }

        [DataMember(Name = "sell")]
        public decimal SellPrice { get; set; }

        [DataMember(Name = "buy")]
        public decimal BuyPrice { get; set; }

        [DataMember(Name = "coin_vol")]
        public decimal CoinVolumn { get; set; }

        [DataMember(Name = "cny_vol")]
        public decimal CNYVolumn { get; set; }
    }
}
